function [a] = Maximum(A)

L = length(A);
a = 0;
for i = 1:L
  if (a < A(i))
    a = A(i);
  end
end
